<%@ Register TagPrefix="FRL" Namespace="FourRoads.Links.Controls" Assembly="FourRoads.Links" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Import Namespace="CommunityServer.Components" %>
<%@ Page language="c#" AutoEventWireup="false" Inherits="FourRoads.Links.Controls.GeneralSettings" %>
<%@ Register TagPrefix="CP" Namespace="CommunityServer.ControlPanel.Controls" Assembly="CommunityServer.Web" %>
<CS:MPCONTAINER id="MPContainer" IsModal="true" ThemeMasterFile="ResLinkControlPanelMaster.ascx" runat="server">
<CS:MPContent id="DescriptionRegion" runat="server">
	<FRL:ResourceControl id="RegionTitle" runat="Server" resourcename="CP_ResLink_GeneralSettings_Title"></FRL:ResourceControl>
</CS:MPContent>
<CS:MPContent id="TaskRegion" runat="server">
<DIV class="CommonContentArea">
			<div class="FixedWidthContainer" style="width:400px;">
<DIV class="CommonContent">
		<CP:StatusMessage id="Status" runat="server"></CP:StatusMessage>
		<table id="AdvancedProperties" cellSpacing="1" cellPadding="2" border="0" runat="server">
			<tr vAlign="top">
				<td class="CommonFormFieldName">
					<FRL:helpicon id="Helpicon8" runat="Server" resourcename="CP_ResLinkAdmin_HideDisabledSections_Detail" />
					<FRL:FORMLABEL id="Formlabel4" runat="Server" resourcename="CP_ResLinkAdmin_HideDisabledSections" controltolabel="ynHideDisabledSections" />
				</td>
				<td class="CommonFormField">
					<cs:yesnoradiobuttonlist id="ynHideDisabledSections" runat="server" cssclass="txt1" repeatcolumns="2" />
				</td>
			</tr>	
	<tr vAlign="top">
		<td class="CommonFormFieldName">
			<FRL:helpicon id="Helpicon2" runat="Server" resourcename="CP_ResLinkAdmin_DisplaySectionCounts_Detail" />
			<FRL:FORMLABEL id="Formlabel2" runat="Server" resourcename="CP_ResLinkAdmin_DisplaySectionCounts" controltolabel="ynDisplaySectionCounts" />
		</td>
		<td class="CommonFormField">
			<cs:yesnoradiobuttonlist id="ynDisplaySectionCounts" runat="server" cssclass="txt1" repeatcolumns="2" />
		</td>
	</tr>		
	
	<tr vAlign="top">
		<td class="CommonFormFieldName">
			<FRL:helpicon id="Helpicon3" runat="Server" resourcename="CP_ResLinkAdmin_DisplayLinkCounts_Detail" />
			<FRL:FORMLABEL id="Formlabel5" runat="Server" resourcename="CP_ResLinkAdmin_DisplayLinkCounts" controltolabel="ynDisplayLinkCounts" />
		</td>
		<td class="CommonFormField">
			<cs:yesnoradiobuttonlist id="ynDisplayLinkCounts" runat="server" cssclass="txt1" repeatcolumns="2" />
		</td>
	</tr>
	
	<tr vAlign="top">
		<td class="CommonFormFieldName">
			<FRL:helpicon id="Helpicon4" runat="Server" resourcename="CP_ResLinkAdmin_AnonymousRatings_Detail" />
			<FRL:FORMLABEL id="Formlabel6" runat="Server" resourcename="CP_ResLinkAdmin_AnonymousRatings" controltolabel="ynAnonymousRatings" />
		</td>
		<td class="CommonFormField">
			<cs:yesnoradiobuttonlist id="ynAnonymousRatings" runat="server" cssclass="txt1" repeatcolumns="2" />
		</td>
	</tr>	
	
		<tr vAlign="top">
		<td class="CommonFormFieldName">
			<FRL:helpicon id="Helpicon5" runat="Server" resourcename="CP_ResLinkAdmin_PromoteLinksIntoParentSections_Detail" />
			<FRL:FORMLABEL id="Formlabel7" runat="Server" resourcename="CP_ResLinkAdmin_PromoteLinksIntoParentSections" controltolabel="ynPromoteLinksIntoParentSections" />
		</td>
		<td class="CommonFormField">
			<cs:yesnoradiobuttonlist id="ynPromoteLinksIntoParentSections" runat="server" cssclass="txt1" repeatcolumns="2" />
		</td>
	</tr>					
			
			
	<tr vAlign="top">
		<td class="CommonFormFieldName">
			<FRL:helpicon id="Helpicon52" runat="Server" resourcename="CP_ResLinkAdmin_AddRepeater_Detail" />
			<FRL:FORMLABEL id="Formlabel72" runat="Server" resourcename="CP_ResLinkAdmin_AddRepeater" controltolabel="AdCount" />
		</td>
		<td class="CommonFormField">
			<asp:textBox id="AdCount" runat="server" cssclass="txt1" repeatcolumns="2" MaxLength="4" />
			<asp:RegularExpressionValidator runat="Server" ControlToValidate="AdCount" 
								ValidationExpression="0*[1-9][0-9]*" Display="Dynamic" Cssclass="validationWarning" ErrorMessage="Numeric field">*</asp:RegularExpressionValidator>
		</td>
	</tr>					
									
		</table>
		</DIV>
	<DIV class="CommonFormField PanelSaveButton">
			<FRL:resourcelinkbutton id="Save" runat="server" cssclass="CommonTextButton" resourcename="Save" />
		</DIV>
	</DIV>
</DIV>
</CS:MPContent>
</CS:MPCONTAINER>
